<?php
class Form{

	// A améliorer !! (Bootstrap)
	public static function input($name, $type){
		if ($type == "text"){
			return '<input class="form-control" type="'.$type.'" id="input'.$name.'" name="'.$name.'" value="">';
		}
		elseif ($type == "textarea"){
			return '<input class="form-control" type="'.$type.'" id="input'.$name.'" name="'.$name.'" value="">';
		}
	}
}
?>